#ifndef __RTC_TIME_H
#define __RTC_TIME_H

#include "time.h"
#include "stm32h750xx.h"
#include "main.h"
#include "rtc.h"
#include "user_printf.h"



typedef struct {
    uint8_t Year;
    uint8_t Month;
    uint8_t Day;
    uint8_t Hours;
    uint8_t Minutes;
    uint8_t Seconds;
} rtc_time_t;





void RTC_Time_Send_ToBuffer(char* buffer, size_t bufferSize);
void RTC_GetTime(rtc_time_t* time);
void RTC_SetTime(rtc_time_t* time);
#endif // !__RTC_TIME_H
